package com.xinzhi.stduyspringboot.service;

import com.xinzhi.stduyspringboot.dao.UserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class DeleteService {

    @Resource
    private UserMapper userMapper;

    public void deletename(String name){ userMapper.deletebyname( name);}
}
